function initializeSystem(data) {
    if (typeof window.initializeCourses === 'function') {
        window.initializeCourses(data);
    }
    if (typeof window.initializeBooks === 'function') {
        window.initializeBooks(data);
    }
    if (typeof window.initializeStudents === 'function') {
        window.initializeStudents(data);
    }
}

window.initializeSystem = initializeSystem;    